Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string<uuid>
required

The account that owns the ticket

Path Parameters

id
string<uuid>
required

The ticket unique identifier

Body

application/json
to_pipeline_id
string<uuid>

Target ticket pipeline. Include to_stage_code when moving between pipelines.

to_stage_code
string

Target ticket stage code.

add_assignee_user_id
string<uuid>

Account member id to add as an assignee.

remove_assignee_user_id
string<uuid>

Account member id to remove from the assignees.

assignee_user_ids
string<uuid>[]

Replaces the current assignees with this exact list.

title
string
Maximum string length: 200
description
string | null
Maximum string length: 5000
priority
enum<string>
Available options:
low,
medium,
high,
urgent
required_fields
object

Values required by the target stage, keyed by field_key.

Example:
closure_answers
object

Answers to the closure forms that apply to the ticket's category, keyed by closure field UUID. Required fields must be answered when the stage resolves or closes the ticket; answers already stored are kept until the ticket is reopened.

Example:
event_id
string<uuid> | null

Purchase event (order) to link to the ticket. Send null to unlink the current order.

purchase_id
string

Order number to link instead of event_id. Masivo looks for an order with this purchase_id issued in the last 30 days (narrowed by customer_id when sent) and fails when none or more than one order matches.

Maximum string length: 200

Response

Ticket updated

data
object